package models;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import play.db.jpa.GenericModel;

/**
 * The persistent class for the ticketreturn database table.
 * 
 */
@Entity
@Table(name = "ticketcancel")
public class TicketCancel extends GenericModel implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	public long id;
	
	public String netticketid;
	
	public String departorgcode;
	
	@Temporal(TemporalType.DATE)
	public Date departdate;
	
	public String cancelorgcode;
	
	public String ticketno;
	
	public BigDecimal ticketprice;
	
	public String cancelname;
	
	@Temporal(TemporalType.TIMESTAMP)
	public Date canceltime;
	
	public String cancelip;
	
	public String cancelticketoutlets;
	
	public Integer turnoverdetailid;
	
	@Temporal(TemporalType.TIMESTAMP)
	public Date createtime;
	
	public Integer createby;
	
	public Integer updateby;
	
	@Temporal(TemporalType.TIMESTAMP)
	public Date updatetime;
	
	public String cancelmode;
}